package com.bootdo.payee.dao;

import com.bootdo.payee.domain.PayeeDO;
import com.bootdo.payee.domain.PaymentCodeDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface PayeeDao {

    List<PayeeDO> list(Map<String,Object> map);

    int count(Map<String,Object> map);

    PayeeDO getByUserNameP(Map<String,Object> map);

    int save(PayeeDO payee);

    PayeeDO get(Long userId);

    int update(PayeeDO user);

    int editStatusByCreate(PayeeDO user);

    int updateDevice(PayeeDO user);

    int exitLine(List<PaymentCodeDO> list);

    int batchEditStatusYes(Long[] ids);

    int batchEditStatusNo(Long[] ids);

    int batchEditLineUpStatusYes(Long[] ids);

    int batchEditLineUpStatusNo(Long[] ids);
}
